package part2;

import javax.swing.JFrame;

public class WarGameWindow extends JFrame{
	WarGamePanel p;
	public WarGameWindow(){
		p = new WarGamePanel( new MinMaxMKII(2), new MinMaxMKII(1), "Westerplatte.txt");
		add(p);
		setVisible(true);
		this.setDefaultCloseOperation(EXIT_ON_CLOSE);
		this.setSize(800,600);
		this.setTitle("Lets Play War");
	}
	public static void main(String[] args){
		WarGameWindow w = new WarGameWindow();
		w.p.start();
	}
}
